package org.ikross.twitter.task;

import java.io.InputStream;
import java.util.Set;

import org.ikross.twitter.connector.parameter.IParameter;
import org.ikross.twitter.exception.TaskException;

public abstract class Connector implements IConnector {
		
	public abstract void addParameter(String key, IParameter value);
	
	public abstract Set<String> getKeyParameters();

	public abstract IParameter getParameter(String key);
	
	public abstract boolean checkParameters();

	public abstract InputStream execute() throws TaskException;
	
	public abstract IConnector clone();
}
